import { lazy } from "react";
let Home=lazy(()=>import('../pages/home/Index'))
let Login=lazy(()=>import('../pages/login/Index'))
let Error=lazy(()=>import('../pages/404/Index'))


export let routes= [
   {
        path:'/',
        Element:<Home></Home>
    },
      {
        path:'/login',
        Element:<Login></Login>
    },
     
    {
        path:'*',
        Element:<Error></Error>
    },
    
]